using AnyCAD.Foundation;
using AnyCAD.WPF.View;
using RapidUI;
using System;
using System.Reflection;

namespace Rapid.Sketch.Plugin
{
    public class SketchPlugin : IPlugin
    {
        #region IPlugin Members 
        public string Description { get; set; } = "Sketch Plugin";
        public bool Startup()
        {
            var riibonBar = MainWindow.Instance()?.RibboBar;

            var item = new View.SketchRibbonTab();
            riibonBar?.Tabs.Insert(1, item);

            return true;
        }

        public void Destroy()
        {

        }
        #endregion
    }
}
